//
//  AvatarView.h
//  KKMYForU
//
//  Created by 黄磊 on 13-12-4.
//  Copyright (c) 2013年 黄磊. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol AvatarDelegate <NSObject>

- (void)avatarClick;

@end

@interface AvatarView : UIView

@property (nonatomic, strong) id<AvatarDelegate> delegate;

@property (nonatomic, strong) UIImage *imgAvatar;

@property (nonatomic, strong) NSString *merchantPic;

- (void)settingView;

- (void)setMerchantPic:(NSString *)merchantPic useCache:(BOOL)useCache;

- (void)setUserPic:(NSString *)userPic useCache:(BOOL)useCache;

- (void)setImage:(NSString *)imageUrl placeholderImage:(UIImage *)placeholderImage;


@end
